import axios from "axios"
// console.log(process.env)
//常规axios请求
const request = axios.create({
  baseURL: process.env.VUE_APP_API + "/api",
  timeout: 5000,
})

//mock数据的请求
const requestMock = axios.create({
  baseURL: "/api",
  timeout: 5000,
})

export { request, requestMock }
